package m.base.model;

import m.common.model.FieldMeta;
import m.common.model.LinkTableMeta;
import m.common.model.TableMeta;
import m.common.model.type.FieldType;
import manage.model.StatusModel;

/**
 * 公共商品信息，通过类型属性采集生成
 */
@TableMeta(name="tb_goods_info",description="商品信息")
public class GoodsInfo extends StatusModel {
    @FieldMeta(name="type_name",type= FieldType.STRING,length=100,description="商品类型")
    private String typeName;
    @FieldMeta(name="factory_name",type= FieldType.STRING,length=100,description="厂商名称")
    private String factoryName;
    @FieldMeta(name="name",type= FieldType.STRING,length=300,description="商品名称")
    private String name;
    @FieldMeta(name="attr_json",type= FieldType.STRING,dbType = "text",description="属性json")
    private String attrJson;

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAttrJson() {
        return attrJson;
    }

    public void setAttrJson(String attrJson) {
        this.attrJson = attrJson;
    }
}
